﻿using CommunicationProtocol.dto.command;
using server.filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommunicationProtocol.dto
{

    public abstract class Command
    {

        protected byte functionCode { get; set; }

        public Command(byte functionCode) {
            this.functionCode = functionCode;
        }

        public abstract  byte[] GetBytes();

       
    }
}
